package com.hnrd.crud.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.hnrd.crud.pojo.TUser;
@Mapper
public interface TUserMapper {
    
    int deleteByPrimaryKey(Integer id);

    int insert(TUser record);
    
    TUser selectByPrimaryKey(Integer id);
   
    List<TUser> selectAll();
   
    int updateByPrimaryKey(TUser record);

	TUser selectByUsername(String name);
}